package com.example.demofdfs.test.obj;

import java.util.LinkedList;
import java.util.Queue;
import java.util.UUID;

public class Client {

	
	public static void main(String[] args) {
		Queue<String> queue = new LinkedList<>();
		Consumer<String> consumer = new Consumer<>(queue);
		Producer<String> producer = new Producer<>(queue);
		
//		Thread t = new Thread(consumer, "consumer - 1");
//		t.start();
		
//		while(true) {
			producer.add(UUID.randomUUID().toString());
			System.out.println(queue);
//		}
	}
}
